package com.itms.mapper;

import com.itms.entity.Carrier;
import org.apache.ibatis.annotations.Param;

import java.math.BigDecimal;

public interface CarrierMapper {
    int deleteByPrimaryKey(BigDecimal id);

    int insert(Carrier record);

    int insertSelective(Carrier record);

    Carrier selectByPrimaryKey(BigDecimal id);

    int updateByPrimaryKeySelective(Carrier record);

    int updateByPrimaryKey(Carrier record);

    Carrier getCarrierByCarrierCode(@Param("CarrierCode") String CarrierCode,@Param("isValid")String isValid);
}